 <ion-view title="修改密码">

    <ion-content padding="true" class="auth wrap-light">
        <p class="padding dark text-center" ng-if="$root.isFirstLogin">首次使用请修改密码</p>

        <form ng-submit="modPassword()" name="pwmodifyForm" novalidate>
            <ion-list>
                <label class="item item-input">
                    <i class="icon ion-android-lock"></i>
                    <input type="password" placeholder="旧密码/初始密码" ng-model="data.password">
                </label>
                <label class="item item-input">
                    <i class="icon ion-android-lock"></i>
                    <input type="password" placeholder="新密码" ng-model="data.newPassword">
                </label>
                <label class="item item-input">
                    <i class="icon ion-android-lock"></i>
                    <input type="password" placeholder="确认新密码" ng-model="data.newPassword2">
                </label>
            </ion-list>

            <button class="button button-royal button-block expend" type="submit">确 定</button>
        </form>
    </ion-content>
</ion-view>